/*
 * 表单开发高级 : 表单开发高级
 * @param bodyType ：正文类型
 * @param affairId :affairId
 * @param attitude :态度
 * @param opinionContent ：意见内容
 * @param currentDialogWindowObj ：当前Dialog对象
*/
function formDevelopAdance4ThirdParty(bodyType,affairId,attitude,opinionContent,currentDialogWindowObj,succesCallBack,currentNodeLast) {
  try{
      function failedCallBack(){
    	  _stopSubmitting();
      }
      function saveContentCallBack(message) {
    	  if(message != undefined && message != "") {
    	      _setCommentValue(message, true);
    	  }
      }
      if(bodyType != '20' ){
          succesCallBack();
      }else {
          var tAttitude = attitude || "",
              tOpinionContent = opinionContent || "";
          
          beforeSubmit(affairId, tAttitude.trim(), tOpinionContent.trim(),currentDialogWindowObj,succesCallBack,failedCallBack,saveContentCallBack,currentNodeLast);
      }
   }catch(e){
       _stopSubmitting();
       _alert(cmp.i18n("collaboration.exception.formException"));
       logToServer(e.stack);
       console.error(e);
   } 
}